use "$raw/randomisation_noPII", clear

reghdfe attrition boarding_only2 high_fees2 christian2  AGE female S4 , vce(robust) $reghdfe
outreg2 using "${output}/table_A4.tex", dec(2) replace
 
//balance 
eststo placebo:  estpost summarize ///
	 attrition if treatment == 0
eststo treatment:  estpost summarize ///
	 attrition if treatment == 1
eststo diff:  estpost ttest ///
	attrition, by(treatment) unequal

esttab  placebo treatment diff using "${output}/table_A3.tex", ///
cells("mean(pattern(1 1 0) fmt(3)) sd(pattern(1 1 0)) b(star pattern(0 0 1) fmt(3)) t(pattern(0 0 1)  par fmt(3)) p(pattern(0 0 1) par fmt(3))") ///
label replace

